package com.qingsong.dto;

import com.qingsong.constant.RE;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.validation.constraints.Pattern;
import static com.qingsong.constant.RE.TITLE_RE;
import static com.qingsong.constant.RE.TITLE_RE_MSG;

@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Schema(name = "秒杀分页DTO")
@Data
public class SeckillPageDTO extends PageDTO implements RE {

    @Schema(description = "标题")
    private String title;
}